package com.jrwd.recycletest;

/**
 * 相信自己，创造未来
 * Created by 小兵 on 2017/10/21.
 */

public class HttpRespone {

    private String message;
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess(){
        return getCode() == 0;
    }
}
